﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UseDetails.aspx.cs" Inherits="Hkwl.WorldExpo.Merchant.Web.UseDetails" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>

<%@ Register Src="ShowLoginInfo.ascx" TagName="ShowLoginInfo" TagPrefix="uc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>E-Coupon商家系统 - 项目使用详情</title>
    <link type="text/css" href="css/custom-theme/jquery-ui-1.8.custom.css" rel="stylesheet" />
    <link href="Css/style.css" rel="stylesheet" type="text/css" />
    <link type="text/css" href="css/jquery.alerts.css" rel="stylesheet" />

    <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>

    <script type="text/javascript" src="js/jquery-ui-1.8.custom.min.js"></script>

    <script src="Js/jquery.alerts.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(function() {
            $("#accordion").accordion({
                header: "h3",
                autoHeight: false,
                navigation: true,
                active: 2
            });

            $(".ui-button:not(.ui-state-disabled)")
				.hover(
					function() {
					    $(this).addClass("ui-state-hover");
					},
					function() {
					    $(this).removeClass("ui-state-hover");
					}
				)

            var dates = $('#txtStartTime, #txtEndTime').datepicker({
                dateFormat: 'yy-mm-dd',
                defaultDate: "+1w",
                changeMonth: true,
                //numberOfMonths: 3,
                onSelect: function(selectedDate) {
                    var option = this.id == "txtStartTime" ? "minDate" : "maxDate";
                    var instance = $(this).data("datepicker");
                    var date = $.datepicker.parseDate(instance.settings.dateFormat || $.datepicker._defaults.dateFormat, selectedDate, instance.settings);
                    dates.not(this).datepicker("option", option, date);
                }
            });
        });
    </script>

</head>
<body>
    <form id="form1" runat="server" defaultbutton="btnBack">
    <div>
        <table width="1024" border="0" align="center" cellpadding="0" cellspacing="0" class="login_boder">
            <tr>
                <td width="231" rowspan="3" align="center">
                    <img src="Css/custom-theme/images/logo.png" width="231" height="94" />
                </td>
                <td width="568" rowspan="3" align="center">
                    <span class="login_title"><asp:Literal ID="ltTitle" runat="server" Text="<%$ Resources:Default,TITLE %>"></asp:Literal></span>
                </td>
                <td height="10" colspan="5" align="center">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td width="139" height="32" align="right">
                    &nbsp;</td>
                <td width="28" align="center">
                    &nbsp;</td>
                <td width="10" align="center">
                    &nbsp;
                </td>
                <td width="29" align="center">
                    &nbsp;</td>
                <td width="19" align="center">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td height="17" colspan="5" align="center">
                    <uc1:ShowLoginInfo ID="ShowLoginInfo1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="7" align="center">
                    <img src="Css/custom-theme/images/login_1.png" width="1024" height="4" />
                </td>
            </tr>
            <tr>
                <td height="674" colspan="7" align="center" valign="top" style="background: url(Css/custom-theme/images/login_3.png) no-repeat bottom;">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td height="45" colspan="4">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td width="20">
                                &nbsp;
                            </td>
                            <td width="263" align="left" valign="top">
                                <div id="accordion">
                <div>
                  <h3><a href="#"><asp:Literal ID="lt1" runat="server"  Text="<%$ Resources:Default,PROFILE_MANAGEMENT %>"></asp:Literal></a></h3>
                  <div>
                    <div style="margin-bottom:10px;">◆ <a href="ModifyInfo.aspx"><asp:Literal ID="lt2" runat="server" Text="<%$ Resources:Default,MODIFY_PROFILE_INFORMATION %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="ModifyPassword.aspx"><asp:Literal ID="lt3" runat="server" Text="<%$ Resources:Default,MODIFY_PASSWORD %>"></asp:Literal></a></div>
                  </div>
                </div>
                <div>
                  <h3><a href="#"><asp:Literal ID="lt4" runat="server" Text="<%$ Resources:Default,CUSTOMER_MANAGEMENT %>"></asp:Literal></a></h3>
                  <div>
                    <div style="margin-bottom:10px;">◆ <a href="ClientCreate.aspx"><asp:Literal ID="lt5" runat="server" Text="<%$ Resources:Default,ADD_CUSTOMER %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="ClientList.aspx"><asp:Literal ID="lt6" runat="server" Text="<%$ Resources:Default,MANAGE_CUSTOMER %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="GroupCreate.aspx"><asp:Literal ID="lt7" runat="server" Text="<%$ Resources:Default,QUICK_ADD_CUSTOMER_GROUP %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="GroupList.aspx"><asp:Literal ID="lt8" runat="server" Text="<%$ Resources:Default,MANAGE_CURRENT_CUSTOMER_GROUPS %>"></asp:Literal></a></div>
                  </div>
                </div>
                <div>
                  <h3><a href="#"><asp:Literal ID="lt9" runat="server" Text="<%$ Resources:Default,CAMPAIGN_MANAGEMENT %>"></asp:Literal></a></h3>
                  <div>
                    <div style="margin-bottom:10px;">◆ <a href="ProjectCreate.aspx"><asp:Literal ID="lt10l" runat="server" Text="<%$ Resources:Default,QUICK_LAUNCH_COUPON_CAMPAIGN %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="ProjectList.aspx"><asp:Literal ID="lt11" runat="server" Text="<%$ Resources:Default,MANAGE_COUPON_CAMPAIGN %>"></asp:Literal></a></div>
                  </div>
                </div>
                <div>
                  <h3><a href="#"><asp:Literal ID="lt12" runat="server" Text="<%$ Resources:Default,STATISTICS_MANAGEMENT %>"></asp:Literal></a></h3>
                  <div>
                    <div style="margin-bottom:10px;">◆ <a href="ClientStatistics.aspx"><asp:Literal ID="lt13" runat="server" Text="<%$ Resources:Default,STATISTICS_BY_CUSTOMER %>"></asp:Literal></a></div>
                    <div style="margin-bottom:10px;">◆ <a href="ProjectStatistics.aspx"><asp:Literal ID="lt14" runat="server" Text="<%$ Resources:Default,STATISTICS_BY_CAMPAIGN %>"></asp:Literal></a></div>
                  </div>
                </div>
              </div>
                            </td>
                            <td width="33">
                                &nbsp;
                            </td>
                            <td width="708" valign="top">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td>
                                            <asp:GridView ID="GridView_UseDetails" runat="server" AutoGenerateColumns="False"
                                                BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px"
                                                CellPadding="3" Width="100%" 
                                                OnRowDataBound="GridView_UseDetails_RowDataBound" 
                                                meta:resourcekey="GridView_UseDetailsResource1">
                                                <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                                                <Columns>
                                                    <asp:TemplateField HeaderText="编号" meta:resourcekey="TemplateFieldResource1">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lbNum" runat="server" meta:resourcekey="lbNumResource1"></asp:Label>
                                                        </ItemTemplate>
                                                        <ControlStyle Width="30px" />
                                                        <FooterStyle Width="30px" />
                                                        <HeaderStyle Width="30px" />
                                                        <ItemStyle Width="30px" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="姓名" meta:resourcekey="TemplateFieldResource2">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lbClientName" runat="server" 
                                                                meta:resourcekey="lbClientNameResource1"></asp:Label>
                                                        </ItemTemplate>
                                                        <ControlStyle Width="80px" />
                                                        <FooterStyle Width="80px" />
                                                        <HeaderStyle Width="80px" />
                                                        <ItemStyle Width="80px" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="公司" meta:resourcekey="TemplateFieldResource3">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lbCompany" runat="server" meta:resourcekey="lbCompanyResource1"></asp:Label>
                                                        </ItemTemplate>
                                                        <ControlStyle Width="150px" />
                                                        <FooterStyle Width="150px" />
                                                        <HeaderStyle Width="150px" />
                                                        <ItemStyle Width="150px" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="发送时间" meta:resourcekey="TemplateFieldResource4">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lbSendTime" runat="server" 
                                                                meta:resourcekey="lbSendTimeResource1"></asp:Label>
                                                        </ItemTemplate>
                                                        <ControlStyle Width="150px" />
                                                        <FooterStyle Width="150px" />
                                                        <HeaderStyle Width="150px" />
                                                        <ItemStyle Width="150px" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="发送数" meta:resourcekey="TemplateFieldResource5">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lbSendNum" runat="server" meta:resourcekey="lbSendNumResource1"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="使用时间" meta:resourcekey="TemplateFieldResource6">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lbUseTime" runat="server" meta:resourcekey="lbUseTimeResource1"></asp:Label>
                                                        </ItemTemplate>
                                                        <ControlStyle Width="150px" />
                                                        <FooterStyle Width="150px" />
                                                        <HeaderStyle Width="150px" />
                                                        <ItemStyle Width="150px" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="使用数" meta:resourcekey="TemplateFieldResource7">
                                                        <ItemTemplate>
                                                            <asp:Label ID="lbUseNum" runat="server" meta:resourcekey="lbUseNumResource1"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                                                <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                                                <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                                                <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                                                <AlternatingRowStyle BackColor="#F7F7F7" />
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <webdiyer:AspNetPager ID="AspNetPager_Content" runat="server" FirstPageText="首页"
                                                LastPageText="尾页" NextPageText="后页" PrevPageText="前页" OnPageChanged="AspNetPager_Content_PageChanged"
                                                PageSize="15"  CustomInfoClass="" 
                                                InvalidPageIndexErrorMessage="页索引不是有效的数值！" 
                                                meta:resourcekey="AspNetPager_ContentResource1" 
                                                NavigationToolTipTextFormatString="" PageIndexOutOfRangeErrorMessage="页索引超出范围！" 
                                                RecordCount="225" SubmitButtonImageUrl="" UrlPageSizeName="" UrlPagingTarget="">
                                            </webdiyer:AspNetPager>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Button ID="btnBack" CssClass="ui-button ui-state-default ui-corner-all" runat="server"
                                                Text="返  回" OnClick="btnBack_Click" meta:resourcekey="btnBackResource1" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
